﻿namespace MQTTServer.Models
{
    /// <summary>
    /// :以图搜索本地人 脸库
    /// </summary>
    public class GetPictureSearch
    {
        /// <summary>
        ///  以图搜索本地人 脸库
        /// </summary>
        public string @operator { get; set; }

        /// <summary>
        /// 消息 id,区分每一条消
        /// </summary>
        public string messageId { get; set; }

        /// <summary>
        /// 人脸图片的 base64 编码数据(不超 过 1M)
        /// </summary>
        public string picinfo { get; set; }

        /// <summary>
        ///  GetPictureSearchInfo
        /// </summary>
        public GetPictureSearchInfo info { get; set; }
    }

    public class GetPictureSearchInfo
    {
        /// <summary>
        /// 一体机设备号 id,返回值
        /// </summary>
        public string? facesluiceId { get; set; }
        /// <summary>
        /// 相似度阈值
        /// </summary>
        public float MaxSimilarity { get; set; }
        /// <summary>
        /// 最大条数(目前只返回一条)
        /// </summary>
        public int MaxNum { get; set; }
    }
}